<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .conten {
            width: 460px;
            height: 460px;
            background-color: aqua;
            margin: 0 auto;
        }

        .box {
            display: grid;
            height: 50px;
            grid-template-columns: repeat(4, 100px);
            grid-template-rows: repeat(3, 100px);
            grid-gap: 20px;
        }

        .div {
            background-color: rgb(18, 197, 87);
        }

        .div1 {
            background-color: rgb(2, 38, 38);
        }

        .div2 {
            background-color: rgb(190, 21, 156);
        }
    </style>
</head>

<body>
    <div class="conten">
        <div class="box">
            <div class="div">1</div>
            <div class="div1">2</div>
            <div class="div2">3</div>
            <div class="div2">4</div>
            <div class="div">1</div>
            <div class="div1">2</div>
            <div class="div2">3</div>
            <div class="div2">4</div>
            <div class="div">1</div>
            <div class="div1">2</div>
            <div class="div2">3</div>
            <div class="div2">4</div>
        </div>
    </div>


</body>

</html>